package com.jdd.modules.shiro.vo;

import java.util.HashSet;
import java.util.Set;
import lombok.Data;

/**
 * @author jdd
 */
@Data
public class UserBean {
    private String username;
    private String password;
    /**
     * 用户所有角色值，用于shiro做角色权限的判断
     * */
    private Set<String> roles = new HashSet<>();
    private Set<String> perms = new HashSet<>();

}
